package com.yellowframework.cloud.api.system;

import com.yellowframework.cloud.common.model.response.ObjectResponseResult;
import com.yellowframework.cloud.common.model.response.QueryResponseResult;
import com.yellowframework.cloud.domain.system.SysOperateLog;
import com.yellowframework.cloud.domain.system.request.QuerySysLogRequest;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "系统日志")
public interface SysLogControllerApi {

    @ApiOperation("分页查询列表数据")
    QueryResponseResult<SysOperateLog> pageList(Integer page, Integer size, QuerySysLogRequest request);

    @ApiOperation("异常详情")
    ObjectResponseResult<String> details(Integer type, Integer id);
}
